home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CompuServe - Multimedia W…shop 1995 February/March
/
CompuServe Multimedia Workshop February-March 1995 (Metatec Corporation)(1994).iso
/
setup
/
ccd
/
mpt.sbk
(
.txt
)
< prev
next >
Wrap
Asymetrix ToolBook File
|
1995-03-07
|
56KB
|
1,080 lines
MPT System Book v. 3.3
Contents Copyright(c) 1994,1995 Metatec Corp.
All Rights Reserved
compactBook
buttonClick
onClick
compactBook
&Compact Book
buttonClick
onClick
Script Size
DriveListViewer
Page id 2
tools
Page id 4
Tools
Reader
Open &Tools Window
closeWindow
Window
~= Reader
"Open &Tools
%"?
System
HxuJlxA
Arial
ncdVGA
playBitmap szMediaSource,stSize
{objTarget
szFileName,szViewer,szExec
8bkMediaViewer
statusMsg "Opening Picture..."
g = romDrive() &
xisFile(
o= default
strFileNotFound(
= iniString(configFile(),"MEDIA VIEWERS","
\",256)
<> "
" &&
= mediaViewer()
5 (file
.VWR)
xpresent
xproperly initialized."
playCDAudio wTrackNum,arg2
-- *** wStyle
cstyle bits: *** --
-- ***
!bitAND 0x0001 = 0
means embedded *** --
..."
isType(logical,
bitOR 0
e(),"
",256)
<> "
" &&
playMovie
,dwLength
-- ***
-- ***
-- ***
2 = 0x0002
controls *** --
-- ***
4 = 0x0004
border
*** --
bPageMedia
..."
<> 1 -- *** Not
e(),"
",256)
<> "
" &&
(EnterPageMedia
(LeavePageMedia
playMCI
playSequencer
,arg3
-- ***
-- ***
MIDI..."
P -- *** <= 3.2 *** --
< 2 -- *** >= 3.3 *** --
-- *** <= 3.2, bEmbedded param missing (
popup) *** --
e(),"
",256)
<> "
" &&
playText
bFullScreen
5..."
e(),"
",256)
<> "
" &&
playWaveAudio
-- ***
-- ***
..."
P -- *** <= 3.2 *** --
< 2 -- *** >= 3.3 *** --
-- *** <= 3.2,
e(),"
",256)
<> "
" &&
-- *** Handler
}prior
v3.2/v3.3 *** --
-- *** The
call '
' instead
<MediaType>'
now *** --
-- *** contained
.VWR. '
\ ' may still, however, be called directly *** --
playMedia
,dwMediaLength,stMediaSize,bIsControls
-- ***
-- ***
-- ***
(movies only) *** --
-- ***
TypeOfMedia
bSysSuspend
szTypeOfMedia = szMediaType
" &&
,& "..."
?<> "
i <>
e(),"
",256)
<> "
" &&
" &&
= 1 -- *** Defaults
zero *** --
-- *** Note:
fborders
x*** --
-- *** supported
versions
3.2 *** --
continueMsg
"Click
d..."
fPlacement
..."
) -- ***
*** --
-- ***
a handler
.VWR which returns a ref
itself *** --
gwEnterPageTimer
4stack stPageMedia
bSuspendPageMedia
' -- ***
*** --
/ <>
f = timerStart("single",500,54,
(BeforeImages
) > 0
(AfterImages
) > 0
timerNotify wTimer
= enterPageMedia
) > 0
sysSuspendMessages =
buttonClick
= leavePageMedia
) > 0
MCINotify szStatus,szOperation,szDevice
szIdleCmds[]
szTemp
= = "aborted"
E = "
dimensions(
D) > 0
goToPage"
reset
} <>
mediaType
fileExtension(
= "WAV"
= "MID"
"BMP,DIB,GIF,PCX,TIF,WMF"
"AVI,MOV,FLI,FLC,MMM"
"TXT,DOC"
= "RTF"
"Rich
Format"
"Unsupported
openIndex szDir,
szSysInfo[]
gwAppName,wIndexApp,wIndexCaption
ghwnd
bFirst
szDDEName
FindWindowByCaption(0,
startupDir() &
Yield()
_n(0,
strBadSetup("Cannot
" &&
] && "
= "\"
discIssueID(),
= baseName(
r<> "OK"
DDE Link
" &&
] && "
keepRemote
ShowWindow(
BringWindowToTop(
openForm szBookRef
gwRomDrive
defaultPage
"FormViewer"
<] &
j] &
%modal
WM_SYSCOMMAND
,wMsg,wParam
= 0xF060
shutDown
szRetVal
= preference("quitPrompt","
0 = "
"Do you really want
f"Yes"
cleanUp
-- simple trap
, mag
app-specific sysBook didn't
isStartup
c(startupBookName()))
openStartup
) + 1] = "
find
logError szError,bRequest
szLogFile,szSysError,szLogString
nErrorNumber
= sysErrorNumber
fileOnly(
".err"
~(".",
seekFile
logged on" &&
p&& "
)" &&
" && \
:" &&
=" &&
r=" &&
sysInfo() &
k& "(
l%" &&
&& "
openMagazine
gwShortName,wVersionID,
,wExtension
gwStartupDir,wFullScreen
# DEVELOP
,szFilters,szPath
] && \
"(*." &
] & "),*." &
] & \
",ToolBook Books (*.?bk),*.?bk,All Files (*.*),*.*"
] && \
"(*." &
] & "),*." &
] & \
) > 3
= "\"
= openFileDlg("
","",
versionID
xisAppBook(
strDiscError()
" &&
& ". It
incompatible
corrupted
strWrongVersion(
= (bookInfoByBookID(
state
<> maximized
= screenResolution()
-- *** May be opening magazine
tools
e*** --
centerClient
myPath
<> "\"
W) szFileSpec
nFoundIt
gwMode
* = "\"
G = SetErrorMode(0x8000 bitOr 0
= SEM_NOOPENFILEERRORBOX; 0
*(SEM_NOCRITICALERRORBOX
-- *** fileExists() appears
error mode *** --
-) 0x4000 = OF_EXIST
= 1)
appName
discName
discIniString("DISC INFO","DiscName","",128)
shortName
wBookIndex,wInfoItem
szBookInfo[][]
szBookName,
gwBookID
runtimePath
RuntimePath","",256)
discVersionID
","",16)
gwConfigFile
discConfigFile
gwDiscConfigFile
indexApp
indexCaption
setRomDrive
szRomDrive
) > 3
= "\"
? = chooseDirectoryDlg("Select ROM
n <>
<> "\"
writeIniItem(
-STARTUP","
setStartupDirectory
",".")
<> "\"
] =
, success
setCurrentDrive(
setCurrentDirectory(
<> -3
= TRUE
extension
section, entry,
/0, bufSize
szDiscIni
gwBufSize
T = 256
discIssueName
issueName","",64)
issueID","",16)
szPref,szDefault
],"Prefs",
9,256)
szApp
/ bOnRomDrive
% = (
","",256)
(szAppName
((
! Please replace
3" &&
3 && "
xfound.
acertain the
" && \
() && "
drive."
szVersion
szInstalled,
%"0.0"
%"0.0"
" &&
] && "
!" &
" &&
v && "
installed
are attempting
a" && \
" &&
&& "
k& "You
#wish
upgrade" && \
latest
" &&
] & "."
wrongDiscVersion
szDialog
%"0.0"
%"0.0"
f" &&
&& "
a" && \
" &&
&& "
"Do
perform
now?"
] & "setup.exe")
6 = "
" &&
] & "
( && \
"-F" &
] & "
.ins" &
"Upgrade program
asure
" && \
] && "
your CD-
correct
problem."
-- *** For NautilusCD, NCD.SBK
ca helpAbout
shows *** --
-- *** a
that
B bitmap
*** --
OszCompany
szHelpAbout,szYear
%"y"
] && "
" &&
"Copyright(c)" &&
f & ","
"Portions
& ", Metatec Corp."
&& "
rights reserved." &
selectDir
",".")
-- ***
3.2+ Stuff *** --
szDLL,
ftsIndexName
2 = "fts30mtb.dll"
wTries = 1
linkDLL
ftsSearch(
= sysToolBookDirectory &
() &
fullTextSearch
szIndexName
a userProperty placed
Tools
builds
must
<> NULL
<> "\"
pgRef =
,windowHandle
--
'+have had its path removed
-- insert current
isObject(
a valid
-- otherwise...
navigate
" &&
$E<b$U
B[V!C
O=PuP
SW7\V
.&+ +E
MEDIA VIEWERS
Bitmap
qtromDrive
statusMsg
mediaViewer
isFile
Opening Picture...
Media Viewer (file MEDIA.VWR) not present or not properly initialized.
playBitmap
iniString
objTarget
bkMediaViewer
szViewer
szFileName
stSize
szExec
szMediaSource
strFileNotFound
objTarget
configFile
default
playBitmap
configFile
MEDIA VIEWERS
mediaViewer
statusMsg
objTarget
bkMediaViewer
szViewer
wTrackNum
wStyle
szExec
Opening CD Audio...
playCDAudio
Media Viewer (file MEDIA.VWR) not present or not properly initialized.
iniString
objTarget
CDAudio
default
playCDAudio
w, "V
w, "V
LLeavePageMedia
Movie
MEDIA VIEWERS
zZEnterPageMedia
qtromDrive
statusMsg
mediaViewer
isFile
Media Viewer (file MEDIA.VWR) not present or not properly initialized.
objTarget
bkMediaViewer
szViewer
szFileName
wStyle
stSize
dwLength
szExec
szMediaSource
bPageMedia
iniString
Opening Movie...
strFileNotFound
playMovie
objTarget
E<playMCI
configFile
default
playMovie
MEDIA VIEWERS
qtromDrive
statusMsg
mediaViewer
objTarget
szViewer
bkMediaViewer
szFileName
wStyle
dwLength
szExec
szMediaSource
isFile
Sequencer
Opening MIDI...
aWplaySequencer
Media Viewer (file MEDIA.VWR) not present or not properly initialized.
iniString
strFileNotFound
objTarget
configFile
default
playSequencer
.&+ +E
MEDIA VIEWERS
bkMediaViewer
szViewer
bFullScreen
szFileName
szExec
szMediaSource
Opening Text...
qtromDrive
statusMsg
mediaViewer
playText
isFile
Media Viewer (file MEDIA.VWR) not present or not properly initialized.
iniString
strFileNotFound
configFile
default
playText
WaveAudio
MEDIA VIEWERS
szViewer
objTarget
szViewer
bkMediaViewer
szFileName
wStyle
dwLength
szExec
szMediaSource
qtromDrive
statusMsg
mediaViewer
isFile
Opening Wave File...
Media Viewer (file MEDIA.VWR) not present or not properly initialized.
iniString
strFileNotFound
dwLength
objTarget
szExec
configFile
default
MSplayWaveAudio
playWaveAudio
MEDIA VIEWERS
objTarget
bkMediaViewer
szViewer
dwMediaLength
bSysSuspend
bIsControls
szFileName
szTypeOfMedia
wStyle
szExec
szMediaSource
stMediaSize
bEmbedded
Opening
Movie
configFile
szViewer
Bitmap
qtromDrive
statusMsg
mediaViewer
playText
isFile
playCDAudio
Sequencer
aWplaySequencer
Media Viewer (file MEDIA.VWR) not present or not properly initialized.
playBitmap
szMediaType
WaveAudio
strFileNotFound
playMovie
objTarget
iniString
E<playMCI
CDAudio
default
MSplayWaveAudio